package com.cl.short_video_java.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author 付
 * @Date 2024-11-02 8:54
 * @Version 1.0
 * @description
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Register implements Serializable {
	@NotEmpty(message = "抱歉，账号不能为空")
	private String username;
	@NotEmpty(message = "抱歉，密码不能为空")
	private String password;
	private String email;
	private String code;
	private String uuid;
}
